export interface ITable {
  tableData: any[]
  columnConfig: IColumn[]
  showIndexColumn?: boolean
  showSelectionColumn?: boolean
  height? : string | number
  'max-width'?: string | number
  stripe?: boolean
  border?: boolean
  'tooltip-effect'?: string
  hiddenOperate?: boolean
  paginationInfo?: IPagination
}

export interface IColumn {
  prop: string
  label: string
  'min-width'?: string
  field: string
}

export interface IPagination {
  currentPage: number
  pageSize: number
  total: number
  size?: boolean
}
